/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package limousine.vo;

import java.io.Serializable;

/**
 *
 * @author Neo
 */
public class Remark implements Serializable {
    private static final long serialVersionUID = 1L;
     private String remarkId;
     private String remark;
     private int remarkOrder;

    public Remark() {
    }

    public Remark(String remarkId) {
        this.remarkId = remarkId;
    }

    public Remark(String remarkId, int remarkOrder) {
        this.remarkId = remarkId;
        this.remarkOrder = remarkOrder;
    }

    public String getRemarkId() {
        return remarkId;
    }

    public void setRemarkId(String remarkId) {
        this.remarkId = remarkId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getRemarkOrder() {
        return remarkOrder;
    }

    public void setRemarkOrder(int remarkOrder) {
        this.remarkOrder = remarkOrder;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (remarkId != null ? remarkId.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Remark)) {
            return false;
        }
        Remark other = (Remark) object;
        if ((this.remarkId == null && other.remarkId != null) || (this.remarkId != null && !this.remarkId.equals(other.remarkId))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "limousine.vo.Remark[remarkId=" + remarkId + "]";
    }

}
